import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    tabbarShow: true
  },
  getters: {
    getTabbarShow (state) {
      return state.tabbarShow
    }
  },
  mutations: {
    updateTabbarShow: function (state, payload) {
      state.tabbarShow = payload
    }
  },
  actions: {}
})
